package com.fick.hibernate.model;

import java.util.Date;

/**
 * Link entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Link implements java.io.Serializable {

	// Fields

	private Integer linkid;

	private String webName;

	private String webUrl;

	private String isPic;

	private String img;

	private Integer linkOrder;
	
	private LinkClass linkClass;
	
	private Date toDate;
	
	private Link paraid;           //下接链接专用

	// Constructors

	public Link getParaid() {
		return paraid;
	}

	public void setParaid(Link paraid) {
		this.paraid = paraid;
	}

	/** default constructor */
	public Link() {
	}

	/** full constructor */
	public Link(String webName, String webUrl, String isPic, String img, Integer linkOrder) {
		this.webName = webName;
		this.webUrl = webUrl;
		this.isPic = isPic;
		this.img = img;
		this.linkOrder = linkOrder;
	}

	// Property accessors

	public Integer getLinkid() {
		return this.linkid;
	}

	public void setLinkid(Integer linkid) {
		this.linkid = linkid;
	}

	public String getWebName() {
		return this.webName;
	}

	public void setWebName(String webName) {
		this.webName = webName;
	}

	public String getWebUrl() {
		return this.webUrl;
	}

	public void setWebUrl(String webUrl) {
		this.webUrl = webUrl;
	}

	public String getIsPic() {
		return this.isPic;
	}

	public void setIsPic(String isPic) {
		this.isPic = isPic;
	}

	public String getImg() {
		return this.img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public Integer getLinkOrder() {
		return this.linkOrder;
	}

	public void setLinkOrder(Integer linkOrder) {
		this.linkOrder = linkOrder;
	}

	public LinkClass getLinkClass() {
		return linkClass;
	}

	public void setLinkClass(LinkClass linkClass) {
		this.linkClass = linkClass;
	}

	public Date getToDate() {
		return toDate;
	}

	public void setToDate(Date toDate) {
		this.toDate = toDate;
	}

	
}